<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2022/4/19
  Time: 20:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link type="text/css" rel="styleSheet" href="${APP_PATH}/dist/css/bootstrap.css"/>
    <script type="text/javascript" src="${APP_PATH}/dist/js/jquery-1.12.4.js"></script>
    <script type="text/javascript" src="${APP_PATH}/dist/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">

    <div class="row">
        <h1 class="col-lg-6">app列表</h1>
    </div>
    <div class="col-lg-6 col-lg-offset-3">
        <a href="/select" class="btn btn-primary"><span class="glyphicon glyphicon-plus">&nbsp;添加图书</span></a>
    </div>
    <table class="table table-hover ">
        <tr>
            <th>软件名称：</th>
            <th>ApK名称：</th>
            <th>软件大小数量：</th>
            <th>所属平台：</th>
            <th>状态：</th>
            <th>下载次数：</th>
            <th>最新版本：</th>
        </tr>
        <c:forEach  items="${appInfo}">
            <tr>
                <td>${appInfo.id}</td>
                <td>${appInfo.apkName}</td>
                <td>${appInfo.softWareSize}</td>
                <td>${appInfo.floatFormId}</td>
                <td>${appInfo.status}</td>
                <td>${appInfo.downloads}</td>
                <td>${appInfo.versionId}</td>
                <td>
                    <a href="#" class="btn btn-md btn-primary"><span class="glyphicon glyphicon-pencil"></span>&nbsp;修改
                    </a>
                    <a href="#" class="btn btn-md btn-danger"><span class="glyphicon glyphicon-trash"></span>&nbsp;删除
                    </a>
                </td>
            </tr>
        </c:forEach>
    </table>

</div>
</body>
</html>
